package com.heima.model.User.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 用户实体类
 *
 * @author 11494
 * @version 1.0
 * @project heima-leadnews
 * @date 2024/1/11 14:57:40
 */
@Data
@TableName(value = "ap_user")
public class ApUser {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String salt;
    private String name;
    private String password;
    private String phone;
    private String image;
    private Short sex;
    @TableField(value = "is_certification")
    private Short isCertification;
    @TableField(value = "is_identity_authentication")
    private Short isIdentityAuthentication;
    private Short status;
    private Short flag;
    @TableField(value = "created_time")
    private Short createdTime;
}
